<template>
	<view>
    <view class="img">
      <!-- <image src="/static/public/car.png" :show-menu-by-longpress="true"/> -->
	  <image :src="cominfofile[3]['image']" :show-menu-by-longpress="true"/>
	  
	  
	  
	  
      <view class="tt">长按二维码添加客服企业微信</view>

    </view>
    <TabBar :tabIndex="2" />
	</view>
</template>

<script>
	import TabBar from "../../components/TabBar.vue";
	import {
	  indexShow
	} from "@/api/index.js"
  export default {
    components: {TabBar},
		data() {
			return {
				cominfofile:[]
			}
		},
		
		onLoad() {
		 
			  this.indexShow()
			
			// console.log("dizhi",serverIp)
		},
		methods: {
			
			
			indexShow() {
			  indexShow({
			    limit: 6,
			    flag: 'noedit'
			  }).then(res => {
			    //  https://trip.funyog.com/assets/addons/fzly/img/x1.png
			       this.cominfofile = res.data.fileurl;			
				
			       console.log("sdfsdf",this.cominfofile[0]['image'])
			  })
			},  
			
			
		}
	}
</script>

<style lang="scss">

.img{
  width: 500rpx;
  height: 500rpx;
  margin: 200rpx auto;
  image{
   width: 100%;
    height: 100%;

  }
  .tt{
    margin-top: 30rpx;
    text-align: center;
    color: gray;
    font-size: 26rpx;
  }
}
</style>
